package com.twohand.admin.Service;

import com.twohand.admin.Entity.Role;
import com.twohand.admin.Entity.UserRole;

public interface UserRoleService {
    Boolean updateByUserId(UserRole userRole, Integer id);
    Boolean deleteByUserId(Integer id);
    Boolean insert(UserRole userRole);

    Integer getRoleByUserId(Integer userId);
}
